
// "the global object" 在 node.js 环境中可以通过 global 变量来获取
console.log( global );

// 标准内置对象(standard built-in objects)统统都定义在 "the global object" 上
console.log( global.Object );
console.log( global.Function );
console.log( global.Boolean );
console.log( global.Number );
console.log( global.String );
console.log( global.BigInt );
console.log( global.Symbol );

console.log( global.Math );
console.log( global.JSON );

/*
const school = '大肥羊学校' ;
function test( a ){
    console.log( school , a );
}
test( 100 );
*/

let names = Object.getOwnPropertyNames( global );
console.log( names );